## Makefile.am -- Process this file with automake to produce Makefile.in
## Copyright (C) 2002 James Su
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2, or (at your option)
## any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program; if not, write to the Free Software
## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

AUX_DIST                = $(ac_aux_dir)/config.guess \
			$(ac_aux_dir)/config.sub \
			$(ac_aux_dir)/compile \
			$(ac_aux_dir)/depcomp \
			$(ac_aux_dir)/install-sh \
			$(ac_aux_dir)/ltconfig \
			$(ac_aux_dir)/ltmain.sh \
			$(ac_aux_dir)/missing

EXTRA_DIST		= THANKS \
			  bootstrap \
			  mkinstalldirs
if IMBUS_BUILD_LIBLTDL
LIBLTDL_DIR		= libltdl
endif

if IMBUS_BUILD_UNIT_TESTS
UNIT_TESTS_DIR		= unittests
endif

AUTOMAKE_OPTIONS 	= gnu
SUBDIRS 		= $(LIBLTDL_DIR) src tests utils $(UNIT_TESTS_DIR)

MAINTAINERCLEANFILES 	= Makefile.in \
			  aclocal.m4 \
			  configure \
			  config.h.in \
			  $(AUX_DIST)

DISTCLEANFILES		= imbus-1.0.pc

CLEANFILES		= *.bak 

ACLOCAL			= aclocal -I $(ac_aux_dir)

pkgconfigdir            = $(libdir)/pkgconfig
pkgconfig_DATA          = imbus-1.0.pc
